package com.share.design.iterator;

/**
 * 抽象聚合
 * author:caifan
 * date:2020/2/5
 */
public interface Aggregate {

    void add(Object object);

    void remove(Object object);

    Iterator getIterator();

}
